
<template>
  <router-view ></router-view>
</template>
<script setup name="App">
  import router from './router';
</script>
<style  lang="scss">

@use "./styles/index.scss";
:root {
  --van-tab-font-size:.24rem;
  --van-primary-color: #07c160;
}
html {
  height: 100%;
  width: 100%;
  overflow: hidden;
}
html[data-device-nodesktop="0"] {
  --theme-max-width: 100%;
  font-size: 13.33333vw;
  font-size: calc(100vw/(750/var(--theme-rem-unit, 100)));
  background: #e3e3e3;
}
html[data-device-nodesktop="1"] {
  background: #e3e3e3;
  font-size: calc(var(--theme-max-width)/(750/var(--theme-rem-unit, 100))) !important;
  margin: 0 auto;
  max-width: 450px;
  max-width: var(--theme-max-width);
  min-width: var(--theme-min-width);
}
html body {
  width: 100% !important;
  height: 100vh;
  color: #333333;
  background: #ffffff;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  font-size: .26rem;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, Segoe UI, Arial, Roboto, PingFang SC, miui, Hiragino Sans GB, Microsoft Yahei, sans-serif;
}
html[data-device-nodesktop="1"] #nprogress,
html[data-device-nodesktop="1"] .van-overlay,
html[data-device-nodesktop="1"] .van-tabbar
{
  margin: 0 auto;
  max-width: 450px;
  max-width: var(--theme-max-width)
}
html[data-device-nodesktop="1"] .ant-modal-mask,
html[data-device-nodesktop="1"] .van-popup,
html[data-device-nodesktop="1"] .van-sticky--fixed {
  margin: 0 auto;
  max-width: 450px;
  max-width: var(--theme-max-width)
}
html ::-webkit-scrollbar {
  z-index: 11;
  width: 0
}

html ::-webkit-scrollbar-thumb {
  width: 0;
  background: transparent;
  border-radius: 0
}

html ::-webkit-scrollbar-corner {
  background: transparent
}

html ::-webkit-scrollbar-track {
  background: transparent
}
html ::-webkit-scrollbar-track-piece {
  width: 0;
  background: transparent
}
html ::-webkit-scrollbar:horizontal {
  height: 0
}
html ::-webkit-scrollbar:horizontal-thumb {
  border-radius: 0
}
html #nprogress {
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000000000000;
  width: 100%
}
html #nprogress .bar {
  position: relative;
  height: .04rem;
  background: #1989fa;
  max-width: var(--theme-max-width);
  min-width: var(--theme-min-width);
}
html #nprogress .bar .peg {
  box-shadow: 0 0 .1rem #1989fa,0 0 .05rem #1989fa;
}
html #nprogress .spinner .spinner-icon {
  border-top-color: #1989fa;
  border-left-color: #1989fa;
}
</style>
